TaskInfo Command Line

taskinfo [s] command [options] [process.exe] [parameters] , Where:
s Silent command execution. No MessageBoxes will be shown.
command command name
options command parameters
process.exe name of main executable file of a process (see below for details)
parameters parameters of a process (see below for details)

Command Command Description
reboot Reboot the system (the same as "Start -> Shutdown -> Restart")
freboot Force reboot the system (don't wait for the end of any process execution and reboot immediately - all non-saved data will be lost!)
shutdown Shutdown the system (the same as "Start -> Shutdown -> Shutdown")
fshutdown Force shutdown the system (don't wait for the end of any process execution and shutdown immediately)
sync Flushes Registry and File Cache
kill [process.exe] Terminate execution of process with main executable file named 'process.exe', don't wait for the end of process execution -- all non-saved data in it will be lost!). Example: taskinfo kill winword.exe - all running instances of Microsoft Word will be terminated immediately, all non-saved documents will be lost!
close [process.exe] Terminale execution of process with main executable file named 'process.exe', wait for the end of its execution (process will ask about saving of non-saved data etc. Example: taskinfo close winword.exe - all running instances of Microsoft Word will be closed; if there are some non-saved documents, you will be asked about saving them before closing
flush [process.exe] Flushes "Memory Pages from RAM" of process with main executable file named 'process.exe', Works only in WinNT/2k/XP. Example: taskinfo flush winword.exe - all memory pages of Microsoft Word will be flushed out of RAM.
rpri [priority] [process.exe] [parameters] launch execution of a process with main executable file named 'process.exe' (you should specify a full path to this file here) with specified priority, and optional parameters for the process being launched. Priority can be one of: 'idle', 'norm', 'high', 'real', 'anorm', 'bnorm' (two last ones are valid only under Windows NT/2k/XP) Example: taskinfo rpri "C:\\Program Files\\Internet Explorer\\iexplore.exe" high - launch Internet Explorer with high priority (note that path with spaces should be quoted)
pl [file name] Save Processes Information to file "file name". Example: taskinfo pl proc.txt - save processes information to "proc.txt" file.
spri [priority] [process.exe] set priority to all running instances of a process named 'process.exe' (values of priority are the same as in a previous command) Example: taskinfo spri iexplore.exe norm - set normal priority to all running instances of Internet Explorer